package com.mvc.service;

import com.mvc.request.ReqPage;
import com.mvc.request.ReqVenueAddTribute;
import com.mvc.request.ReqVenueWorshipPage;
import com.mvc.request.ReturnData;
import com.mvc.response.RspPage;
import com.mvc.response.RspWorship;

/***
 * 祭拜记录
 * 
 * @author Swer
 * 
 */
public interface SacrificeService {

	/***
	 * 删除祭拜记录[由删除场馆时调用]
	 * 
	 * @return
	 */
	boolean deleteVenue(int venueId);
	
	/**
	 * 场馆新增祭拜记录[由场馆添加祭品时调用]
	 * 
	 * @param message
	 * @return
	 */
	ReturnData<Boolean> create(ReqVenueAddTribute req);

	/***
	 * 获取最新的祭拜记录【分页】
	 * 
	 * @return
	 */
	ReturnData<RspPage<RspWorship>> queryNewPage(ReqPage req);

	/***
	 * 获取场馆祭拜记录【分页】
	 * 
	 * @return
	 */
	ReturnData<RspPage<RspWorship>> queryVenuePage(ReqVenueWorshipPage req);

}
